package com.ruyuan.user.server.domain.model;

import com.ruyuan.common.model.Features;
import com.ruyuan.user.api.model.enums.AuthResourceTypeEnum;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author xx
 */
@Data
public class AuthResource {

    private Long id;

    private String name;

    private AuthResourceTypeEnum type;

    private String code;

    private Long orgId;

    private String description;

    private List<Authority> relatedAuthorities;

    private String modifier;

    private boolean isDeleted;

    private Features features = Features.of();

}
